<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 乔见东方姑娘
  Date: 2023/8/16
  Time: 10:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    List<String> userList = new ArrayList<>();
    userList.add("汪云飞");
    userList.add("李政");
    session.setAttribute("userList", userList);
%>
<a href="<%=request.getContextPath()%>/showParam.jsp?username=汪云飞&password=123456">获取数据</a>
</body>
</html>
